// 管理token的存储 更新 删除
const TOKEN_KEY = "itcast_geek_pc"

export const setToken = (token) => localStorage.setItem(TOKEN_KEY, token)
export const getToken = () => localStorage.getItem(TOKEN_KEY) ?? ""
export const clearToken = () => localStorage.removeItem(TOKEN_KEY)
